﻿using KinonekoSoftware.CodariaDB.Documents.Shenanigans.Forum;

namespace KinonekoSoftware.Studio.Models.Shenanigans.Forums
{
    public sealed class ReplyMSG : PlainTextMSG
    {
        protected override PlainTextBase GetPlainText() => (ReplyForumObject)Target;
        public             bool          IsReplySimple  => Reply is not ReplyMSG;
        public             bool          IsReplyComplex => Reply is ReplyMSG;

        /// <summary>
        /// 获取或设置 <see cref="Reply"/> 属性。
        /// </summary>
        public ForumMSG Reply { get; init; }

    }
}